#ifndef ADDFRIENDBOX_H
#define ADDFRIENDBOX_H

#include <QWidget>

namespace Ui {
class AddFriendBox;
}

class AddFriendBox : public QWidget
{
    Q_OBJECT

public:
    explicit AddFriendBox(QWidget *parent = nullptr);
    ~AddFriendBox();
    void setFriendName(const QString& useroc,const QString& friendoc,const QString& friendname);
    void setExists(bool flag);
    QSize getSize();
signals:
    void btn_clicked(const QString& friendname);
private slots:
    void on_btn_addfriend_clicked();

private:
    Ui::AddFriendBox *ui;
    QString friendname;
    bool isvalid;
};

#endif // ADDFRIENDBOX_H
